package com.top10.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author ellen
 * @since 2018-10-18
 */
@TableName("tb_pay_points")
public class PayPoints extends Model<PayPoints> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;

	/**
	 * 支付给商家扣除的点数
	 */

	private Float points;
	/**
	 * 积分比例
	 */
	private Float integral;
	/**
	 * 余额比例
	 */
	private Float Balance;
	/**
	 * 单笔下限
	 */
	private Float lowerlimit;
	/**
	 * 单笔上限
	 */
	private Float toplimit;
	/**
	 * 每日提现封底
	 */
	private Float backcover;
	/**
	 * 手续费
	 */
	private Float poundage;
	/**
	 * 更新时间
	 */
	private Date tiime;
	private BigDecimal daymaxamount;
	private BigDecimal timesmaxamount;
	private BigDecimal timesminamount;
	private BigDecimal txsyf;
	private BigDecimal usemaxpoint;
	private BigDecimal pointprcent;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Float getPoints() {
		return points;
	}

	public void setPoints(Float points) {
		this.points = points;
	}

	public Float getIntegral() {
		return integral;
	}

	public void setIntegral(Float integral) {
		this.integral = integral;
	}

	public Float getBalance() {
		return Balance;
	}

	public void setBalance(Float Balance) {
		this.Balance = Balance;
	}

	public Float getLowerlimit() {
		return lowerlimit;
	}

	public void setLowerlimit(Float lowerlimit) {
		this.lowerlimit = lowerlimit;
	}

	public Float getToplimit() {
		return toplimit;
	}

	public void setToplimit(Float toplimit) {
		this.toplimit = toplimit;
	}

	public Float getBackcover() {
		return backcover;
	}

	public void setBackcover(Float backcover) {
		this.backcover = backcover;
	}

	public Float getPoundage() {
		return poundage;
	}

	public void setPoundage(Float poundage) {
		this.poundage = poundage;
	}

	public Date getTiime() {
		return tiime;
	}

	public void setTiime(Date tiime) {
		this.tiime = tiime;
	}

	public BigDecimal getDaymaxamount() {
		return daymaxamount;
	}

	public void setDaymaxamount(BigDecimal daymaxamount) {
		this.daymaxamount = daymaxamount;
	}

	public BigDecimal getTimesmaxamount() {
		return timesmaxamount;
	}

	public void setTimesmaxamount(BigDecimal timesmaxamount) {
		this.timesmaxamount = timesmaxamount;
	}

	public BigDecimal getTimesminamount() {
		return timesminamount;
	}

	public void setTimesminamount(BigDecimal timesminamount) {
		this.timesminamount = timesminamount;
	}

	public BigDecimal getTxsyf() {
		return txsyf;
	}

	public void setTxsyf(BigDecimal txsyf) {
		this.txsyf = txsyf;
	}

	public BigDecimal getUsemaxpoint() {
		return usemaxpoint;
	}

	public void setUsemaxpoint(BigDecimal usemaxpoint) {
		this.usemaxpoint = usemaxpoint;
	}

	public BigDecimal getPointprcent() {
		return pointprcent;
	}

	public void setPointprcent(BigDecimal pointprcent) {
		this.pointprcent = pointprcent;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "PayPoints{" +
				", id=" + id +
				", points=" + points +
				", integral=" + integral +
				", Balance=" + Balance +
				", lowerlimit=" + lowerlimit +
				", toplimit=" + toplimit +
				", backcover=" + backcover +
				", poundage=" + poundage +
				", tiime=" + tiime +
				", daymaxamount=" + daymaxamount +
				", timesmaxamount=" + timesmaxamount +
				", timesminamount=" + timesminamount +
				", txsyf=" + txsyf +
				", usemaxpoint=" + usemaxpoint +
				", pointprcent=" + pointprcent +
				"}";
	}
}